import config from "@/config"
import http from "@/utils/request"

export default {

    basicInfo:{
        url: `${config.API_URL}/account/basicInfo`,
		name: "登录获取基本资料",
		get: async function(data={}){
			return await http.get(this.url, data);
		},
        put:async function(data={}){
			return await http.put(this.url, data);
		},
    },
	//如何自定义api模块或者信息在已有模块增加新的接口请求
	logList:{
		url: `${config.API_URL}/account/getLogList`,
		name: "获取登录日志",
		get: async function(data={}){
			return await http.get(this.url, data);
		},
	}

}